<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>背景图片</title>
</head>

<style>
    div {
        height: 800px;
        width: 800px;
        background-image: url(./pics/01.jpeg);
        background-repeat: no-repeat;
        background-color: pink ;
        /* 背景图片的位置 */
        background-position: center left ;
    }

</style>
<body>
<div></div>
</body>
</html>